<!--%import("filter/insert_config.xml")-->
<!--%import("../../editor/tpl/js/editor_module_config.js",optimized=false)-->

<!--#include("header.html")-->

<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<input type="hidden" name="temp_srl" value="" />
<input type="hidden" name="agreement" value="{htmlspecialchars($config->agreement)}" />

<table cellspacing="0" class="rowTable">
<tr class="row2">
    <th scope="row"><div>{$lang->webmaster_name}</div></th>
    <td>
        <input type="text" name="webmaster_name" value="{$config->webmaster_name}" size="20" class="inputTypeText" />
        <p>{$lang->about_webmaster_name}</p>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->webmaster_email}</div></th>
    <td>
        <input type="text" name="webmaster_email" value="{$config->webmaster_email}" size="40" class="inputTypeText" />
        <p>{$lang->about_webmaster_email}</p>
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->enable_openid}</div></th>
    <td>
        <input type="checkbox" name="enable_openid" value="Y" <!--@if($config->enable_openid=='Y')-->checked="checked"<!--@end--> class="checkbox" />
        {$lang->about_enable_openid}
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->enable_join}</div></th>
    <td>
        <input type="checkbox" name="enable_join" value="Y" <!--@if($config->enable_join=='Y')-->checked="checked"<!--@end--> class="checkbox" />
        {$lang->about_enable_join}
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->enable_confirm}</div></th>
<td>
    <input type="checkbox" name="enable_confirm" value="Y" <!--@if($config->enable_confirm=='Y')-->checked="checked"<!--@end--> class="checkbox" />
    {$lang->about_enable_confirm}
</td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->limit_day}</div></th>
    <td>
        <input type="text" name="limit_day" value="{$config->limit_day}" size="2" class="inputTypeText" />{$lang->unit_day}
        <p>{$lang->about_limit_day}</p>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->profile_image}</div></th>
    <td>
        <p>
            <input type="checkbox" name="profile_image" value="Y" <!--@if($config->profile_image=='Y')-->checked="checked"<!--@end--> class="checkbox" />
            {$lang->about_profile_image}
        </p>
        {$lang->profile_image_max_width} : <input type="text" name="profile_image_max_width" size="3" value="{$config->profile_image_max_width}" class="inputTypeText" />px<br />
        {$lang->profile_image_max_height} : <input type="text" name="profile_image_max_height" size="3" value="{$config->profile_image_max_height}" class="inputTypeText" />px<br />
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->image_name}</div></th>
    <td>
        <p>
            <input type="checkbox" name="image_name" value="Y" <!--@if($config->image_name=='Y')-->checked="checked"<!--@end--> class="checkbox" />
            {$lang->about_image_name}
        </p>
        {$lang->image_name_max_width} : <input type="text" name="image_name_max_width" size="3" value="{$config->image_name_max_width}" class="inputTypeText" />px<br />
        {$lang->image_name_max_height} : <input type="text" name="image_name_max_height" size="3" value="{$config->image_name_max_height}" class="inputTypeText" />px<br />
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->image_mark}</div></th>
    <td>
        <p>
            <input type="checkbox" name="image_mark" value="Y" <!--@if($config->image_mark=='Y')-->checked="checked"<!--@end--> class="checkbox"/>
            {$lang->about_image_mark}
        </p>
        {$lang->image_mark_max_width} : <input type="text" name="image_mark_max_width" size="3" value="{$config->image_mark_max_width}" class="inputTypeText"/>px<br />
        {$lang->image_mark_max_height} : <input type="text" name="image_mark_max_height" size="3" value="{$config->image_mark_max_height}" class="inputTypeText"/>px<br />
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->group_image_mark}</div></th>
    <td>
        <p>
            <input type="checkbox" name="group_image_mark" value="Y" <!--@if($config->group_image_mark=='Y')-->checked="checked"<!--@end--> class="checkbox"/>
            {$lang->about_group_image_mark}
        </p>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->signature}</div></th>
    <td>
        <p>
            <input type="checkbox" name="signature" value="Y" <!--@if($config->signature=='Y')-->checked="checked"<!--@end--> class="checkbox"/>
        </p>
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->signature_max_height}</div></th>
    <td>
        <input type="text" name="signature_max_height" size="3" value="{$config->signature_max_height}" class="inputTypeText"/>px
        <p>{$lang->about_signature_max_height}</p>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->editor_skin}</div></th>
    <td>
        <select name="editor_skin" onchange="getEditorSkinColorList(this.value)">
        <!--@foreach($editor_skin_list as $editor_skin)-->
        <option value="{$editor_skin}" <!--@if($editor_skin==$config->editor_skin)-->selected="selected"<!--@end-->>{$editor_skin}</option>
        <!--@end-->
        </select>
        <select name="editor_colorset" id="sel_editor_colorset" style="display:none"></select>
        <script "text/javascript">//<![CDATA[
            getEditorSkinColorList('{$config->editor_skin}','{$config->editor_colorset}');
        //]]></script>
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->after_login_url}</div></th>
    <td>
        <input type="text" name="after_login_url" value="{$config->after_login_url}" class="inputTypeText w400" />
        <p>{$lang->about_after_login_url}</p>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->after_logout_url}</div></th>
    <td>
        <input type="text" name="after_logout_url" value="{$config->after_logout_url}" class="inputTypeText w400" />
        <p>{$lang->about_after_logout_url}</p>
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->redirect_url}</div></th>
    <td>
        <input type="text" name="redirect_url" value="{$config->redirect_url}" class="inputTypeText w400" />
        <p>{$lang->about_redirect_url}</p>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->agreement}</div></th>
    <td>
        {$editor}
        <p>{$lang->about_agreement}</p>
    </td>
</tr>
<tr class="row2">
    <th scope="row"><div>{$lang->skin}</div></th>
    <td>
        <select name="skin" onchange="doGetSkinColorset(this.options[this.selectedIndex].value);return false;">
            <!--@foreach($skin_list as $key => $val)-->
            <option value="{$key}" <!--@if($config->skin == $key)-->selected="selected"<!--@end-->>{$val->title} ({$key})</option>
            <!--@end-->
        </select>
    </td>
</tr>
<tr>
    <th scope="row"><div>{$lang->colorset}</div></th>
    <td><div id="member_colorset"></div></td>
</tr>
<tr class="row2">
    <th colspan="2" class="button">
        <span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" /></span>
        <!--@if($module=="admin")-->
        <a href="{getUrl('act','dispMemberAdminList')}" class="button"><span>{$lang->cmd_back}</span></a>
        <!--@end-->
    </th>
</tr>
</table>

</form>

<script type="text/javascript">
    xAddEventListener(window,'load', function() { doGetSkinColorset("{$config->skin}"); });
</script>
